package com.sfzy.mapper;

import com.sfzy.entity.Certificate;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CertificateMapper {
    //增加
    int insertCertificate(Certificate certificate);
    //删除
    int deleteCertificate(int id);
    //修改
    int updateCertificate(Certificate certificate);
    //根据id查询
    Certificate selectCertificateById(int id);
    //分页查询
    List<Certificate> selectAllCertificates(Certificate certificate);
}
